# -*- coding: utf-8 -*-

class People:
    school = '学院'

    def __init__(self, name, age, sex):
        self.name = name
        self.age = age
        self.sex = sex


class Student(People):
    # def __init__(self,name,age,sex):
    #     self.name=name
    #     self.age=age
    #     self.sex=sex
    pass


class Teacher(People):
    # def __init__(self,name,age,sex):
    #     self.name=name
    #     self.age=age
    #     self.sex=sex
    pass


s1 = Student('小明', 18, '男')
print(s1.__dict__)
t1 = Teacher('小红', 17, '女')
print(t1.__dict__)
